package com.huawei.appgallery.wishlist.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.LinearLayout;

public class WishLinearLayout extends LinearLayout {
    public WishLinearLayout(Context context) {
        super(context);
    }

    public WishLinearLayout(Context context, AttributeSet attributeSet) {
        super(context, attributeSet);
    }

    public WishLinearLayout(Context context, AttributeSet attributeSet, int i) {
        super(context, attributeSet, i);
    }

    public boolean dispatchTouchEvent(MotionEvent motionEvent) {
        getParent().requestDisallowInterceptTouchEvent(true);
        return super.dispatchTouchEvent(motionEvent);
    }
}
